package com.ruoyi.coal.modules.coalpile.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;;
import java.util.Map;

import com.ruoyi.coal.common.utils.PageUtils;
import com.ruoyi.coal.common.utils.Query;
import com.ruoyi.coal.modules.coalpile.domain.PointEntity;
import com.ruoyi.coal.modules.coalpile.mapper.PointDao;
import com.ruoyi.coal.modules.coalpile.service.PointService;
import org.springframework.stereotype.Service;

@Service("pointService")
public class PointServiceImpl extends ServiceImpl<PointDao, PointEntity> implements PointService {
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PointEntity> page = page((new Query())
                .getPage(params), (Wrapper) new QueryWrapper());
        return new PageUtils(page);
    }
}

